package com.lcj.mis.feign;

import com.lcj.common.util.Result;
import com.lcj.mis.controller.form.DeleteVoucherByIdsForm;
import com.lcj.mis.controller.form.InsertVoucherForm;
import com.lcj.mis.controller.form.SearchVoucherByPageForm;
import com.lcj.mis.controller.form.UpdateVoucherStatusForm;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(value = "aoch-vhr")
public interface VhrServiceApi {
    @PostMapping("/voucher/searchVoucherByPage")
    Result searchVoucherByPage(SearchVoucherByPageForm form);

    @PostMapping("/voucher/insertVoucher")
    Result insertVoucher(InsertVoucherForm form);

    @PostMapping("/voucher/updateVoucherStatus")
    public Result updateVoucherStatus(UpdateVoucherStatusForm form);

    @PostMapping("/voucher/deleteVoucherByIds")
    public Result deleteVoucherByIds(DeleteVoucherByIdsForm form);
}